MailPoet\Validator\Validator S

Total Complexity 48
Dependencies 6
Dependents 3
Total lines 200
Lines of code 134
Logical lines of code 88
Comment lines 44
Methods 7
Properties 1

Methods 7

Method Rating Maintainability Complexity Lines of code
validateAndSanitizeValueFromSchema()
D
34 34 79
validateAndSanitizeOneOf()
S
53 5 23
validateAndSanitizeAnyOf()
S
61 3 11
validateSchemaArray()
S
68 2 7
getTypeError()
S
66 2 8
__construct()
S
81 1 3
validate()
S
79 1 3